﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using myTwitter.BO;
using myTwitter.DataTemplateSelectors;

namespace myTwitter.Model
{
    public class Singletons
    {
        public Twitter Twitter 
        {
            get
            {
                return SingletonFactory.GetInstance<Twitter>();
            }
        }

        public IMessageTemplateSelector IMessageTemplateSelector
        {
            get
            {
                return SingletonFactory.GetInstance<IMessageTemplateSelector>();
            }
        }

        public User Fake_User
        {
            get
            {
                User user = new User()
                {
                    Name = "Yann ALET",
                    ScreenName = "yannalet",
                    StatusesCount = 2309,
                    Url = "http://www.yannalet.com",
                    TwitterUrl = "http://twitter.com/yannalet",
                    ID = 02830394830,
                    FollowersCount = 294,
                    Following = false,
                    FriendsCount = 35,
                    Location = "Paris",
                    Description = "UX Oriented Developper, WPF Expert, Podcaster, Geek, WoW addict ...",
                    ProfileImageUrl = @"C:\Users\Yann\Pictures\Icons\Jeff_at_Blizzcon.jpg",
                    Status = new Status()
                    {
                        Text = "@Diraen Nous on est chez GoDaddy, ca marche bien les premiers prix sont assez interressants. Patrick m'a recommandé OVH aussi.",
                        CreatedAt = DateTime.Now
                    }
                };

                return user;
            }
        }
    }
}
